local assets = {}

local function fn()
    local inst = CreateEntity()

    inst.entity:AddTransform()
    inst.entity:AddLight()
    inst.entity:AddNetwork()

    inst:AddTag("FX")

    inst.Light:SetRadius(3)
    inst.Light:SetIntensity(0.6)
    inst.Light:SetFalloff(0.7)
    inst.Light:SetColour(135/255, 206/255, 250/255)
    inst.Light:Enable(true)

    inst.entity:SetPristine()

    if not TheWorld.ismastersim then
        return inst
    end

    inst.persists = false

    return inst
end

return Prefab("mod_pono_diving_light", fn, assets)
